//
//  BRBorrowManager.h
//  BrezzeSaaS
//
//  Created by IOS on 2021/9/13.
//  Copyright © 2021 Brezze GWG. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
/**
 订单状态：
 无订单
 租借中
 未支付
 已支付
 */
typedef enum {
    BROrder_NONE = 0,
    BROrder_RENTING = 1,
    BROrder_UNPAY = 2,
    BROrder_PAYED = 3,
} BROrderStatus;

@interface BRBorrowManager : NSObject
/// 订单状态
@property (nonatomic,assign) BROrderStatus status;
///取消轮训定时器
- (void)cancelTimer;

/// 开启定时增加轮训定时刷新订单金额
- (void)startQueryTime:(void(^)(void))handler byStatus:(BROrderStatus)status;

@end

NS_ASSUME_NONNULL_END
